﻿@{
    ViewBag.Title = "EditAndAdd";
    Layout = "~/Views/Shared/_IVSLayout.cshtml";
}

@if (ViewBag.id == 1)//edit
{
    <!-- main start-->
       <div  id="main">
			  <!-- InstanceBeginEditable name="EditRegion1" --><h2>Edit Currency</h2><!-- InstanceEndEditable -->   
					<div id="error" class="error"> </div>
					<div id="Div1" class="success"> </div>
               <!-- InstanceBeginEditable name="EditRegion2" -->
			   	<p></p>

					<p></p>
							<table class="inputForm">
								<tbody>
								<tr>
									<th scope="row">Date<span class="requirement">*</span></th>
									<td >
                                       <input id="txtFromDate" class="txt125" value="2013/08/08" type="text">
									</td>
                                     <th>Type<span class="requirement">*</span></th>
                                    <td >
                                         <select name="select2" style="width: 130px">
                                                <option value=" "></option>  
                                                <option value="USD" selected="true">USD</option>                                                                                              
                                                <option value="JPY">JPY</option>                                                
                                                                                          
                                        </select>
									</td>
                                    <th >Value<span class="requirement">*</span></th>
									<td >
										<input id="txtValue"  class="txt125" value="20,800.00" type="text"></td>
                                </tr>								
								</tbody>
							</table>
                           <input name="btnSave" type="button" value="Save" onclick="location.href='/MSCR00'" />                       
             <input name="btnBack" type="button" value="Back" onclick="location.href='/MSCR00'" />
							<div Code="divList">
						<div Code="divList">
						<div class="success">
								<p></p>
						</div>
						</div>
						</div>


               <!-- InstanceEndEditable -->   
               
            </div>  
     <!-- main end-->    
     
}
else
{
     <!-- main start-->
       <div  id="main">
			  <!-- InstanceBeginEditable name="EditRegion1" --><h2>Add Currency</h2><!-- InstanceEndEditable -->   
					<div id="error" class="error"> </div>
					<div id="Div1" class="success"> </div>
               <!-- InstanceBeginEditable name="EditRegion2" -->
			   	<p></p>

					<p></p>
							<table class="inputForm">
								<tbody>
								<tr>
									<th scope="row">Date<span class="requirement">*</span></th>
									<td >
                                       <input id="txtFromDate" class="txt125" value="" type="text">
									</td>
                                     <th>Type<span class="requirement">*</span></th>
                                    <td >
                                         <select name="select2" style="width: 130px">
                                                <option value=" "></option>  
                                                <option value="USD" >USD</option>                                                                                              
                                                <option value="JPY">JPY</option>                                                
                                                                                          
                                        </select>
									</td>
                                    <th >Value<span class="requirement">*</span></th>
									<td >
										<input id="txtValue"  class="txt125" value="" type="text"></td>
                                </tr>								
								</tbody>
							</table>
                           <input name="btnSave" type="button" value="Save" onclick="location.href='/MSCR00'" />                       
             <input name="btnBack" type="button" value="Back" onclick="location.href='/MSCR00'" />
							<div Code="divList">
						<div Code="divList">
						<div class="success">
								<p></p>
						</div>
						</div>
						</div>


               <!-- InstanceEndEditable -->   
               
            </div>  
     <!-- main end-->    
     
}